<template>
  <div>
    <button @click="emit('fun', 1)">累加</button>
  </div>
</template>

<script setup lang="ts">
const emit = defineEmits(['fun'])
</script>

<style></style>
